import Mock from 'mockjs'

const data = Mock.mock({
  'list|4': [
    {
      id: '@id',
      'type|+1': ['首页', '国际', '国内', '历史'],
      'children|50': [
        {
          id: '@guid',
          title: '@ctitle',
          content: '@cparagraph(5)',
          createTime: '@datetime',
          comments: '@integer(0, 5)',
          img: '@image(100x100, @color)',
        },
      ],
    },
  ],
})
console.log(data.list, 'list')
const list = data.list

export { list }
